<?php /* Smarty version Smarty-3.1.8, created on 2012-10-27 16:50:21
         compiled from "E:\www\teraco/templates\admin\config_product\add.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:26953508c10cd997646-32915391%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd7ec0220915815fc32c9bb8f2944b12015194085' => 
    array (
      0 => 'E:\\www\\teraco/templates\\admin\\config_product\\add.temp.html',
      1 => 1351335064,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '26953508c10cd997646-32915391',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'tabadmindefault' => 0,
    'infoText' => 0,
    'infoClass' => 0,
    'base_url' => 0,
    'formId' => 0,
    'objectLanguages' => 0,
    'objectlang' => 0,
    'objectInfo' => 0,
    'listCategories' => 0,
    'listStatus' => 0,
    'keywords' => 0,
    'position' => 0,
    'slug' => 0,
    'home' => 0,
    'wavatar' => 0,
    'havatar' => 0,
    'wmedium' => 0,
    'hmedium' => 0,
    'wbig' => 0,
    'hbig' => 0,
    'op' => 0,
    'act' => 0,
    'oId' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_508c10ce08e995_72933065',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_508c10ce08e995_72933065')) {function content_508c10ce08e995_72933065($_smarty_tpl) {?><?php if (!is_callable('smarty_function_l')) include 'E:\\www\\teraco\\libraries\\plugins\\function.l.php';
?><?php $_smarty_tpl->tpl_vars['formId'] = new Smarty_variable('add', null, 0);?>
<div id="content">
    <div class="highlight">
        <?php if (isset($_smarty_tpl->tpl_vars['tabadmindefault']->value)){?><?php echo $_smarty_tpl->tpl_vars['tabadmindefault']->value;?>
<?php }?>
        <?php if ($_smarty_tpl->tpl_vars['infoText']->value){?>
            <div class="<?php echo $_smarty_tpl->tpl_vars['infoClass']->value;?>
">
                <h4>Result:</h4>
                <p><?php echo $_smarty_tpl->tpl_vars['infoText']->value;?>
</p>
            </div>
        <?php }?>
        <?php echo $_smarty_tpl->getSubTemplate ("admin/toolbar.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'toolbar'), 0);?>

        <div class="formType">
            <form action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
" method="post" id="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" name="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" enctype="multipart/form-data">
                <fieldset>
                	<div class="left">
                        <div class="titles"><?php echo smarty_function_l(array('s'=>'infoneed'),$_smarty_tpl);?>
</div>
                        <div style="clear:both;"></div>
                        <ul class="tabs">
                            <li class="tab"><?php echo smarty_function_l(array('s'=>'Background'),$_smarty_tpl);?>
</li>
                            <?php if ($_smarty_tpl->tpl_vars['objectLanguages']->value){?>
                                <?php  $_smarty_tpl->tpl_vars['objectlang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objectlang']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectLanguages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['objectlang']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['objectlang']->key => $_smarty_tpl->tpl_vars['objectlang']->value){
$_smarty_tpl->tpl_vars['objectlang']->_loop = true;
 $_smarty_tpl->tpl_vars['objectlang']->index++;
 $_smarty_tpl->tpl_vars['objectlang']->first = $_smarty_tpl->tpl_vars['objectlang']->index === 0;
?> 
                                    <li class="tab <?php if ($_smarty_tpl->tpl_vars['objectlang']->first){?>selected<?php }?>"><?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('name');?>
</li>
                                <?php } ?>
                            <?php }?>
                        </ul>
                        <div class="tabcontent">
                            <p>
                                <span><?php echo smarty_function_l(array('s'=>'Please choice a background for this news...'),$_smarty_tpl);?>
</span>
                                <?php if (is_object($_smarty_tpl->tpl_vars['objectInfo']->value)){?>
                                    <?php if ($_smarty_tpl->tpl_vars['objectInfo']->value->getField('background')!=''){?>
                                        <img src="<?php echo $_smarty_tpl->tpl_vars['objectInfo']->value->getFullUrlBackGround();?>
" style="max-width: 696px; max-height: 400px;" /><br /><br />
                                    <?php }?>
                                <?php }?>
                                <input type="file" name="background" id="background" />
                            </p>
                            <br class="clear">
                        </div>
                        <?php if ($_smarty_tpl->tpl_vars['objectLanguages']->value){?>
                            <?php  $_smarty_tpl->tpl_vars['objectlang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objectlang']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectLanguages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['objectlang']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['objectlang']->key => $_smarty_tpl->tpl_vars['objectlang']->value){
$_smarty_tpl->tpl_vars['objectlang']->_loop = true;
 $_smarty_tpl->tpl_vars['objectlang']->index++;
 $_smarty_tpl->tpl_vars['objectlang']->first = $_smarty_tpl->tpl_vars['objectlang']->index === 0;
?> 
                                <div class="tabcontent <?php if ($_smarty_tpl->tpl_vars['objectlang']->first){?>selected<?php }?>">
                                    <p>
                                        <label for="name"><?php echo smarty_function_l(array('s'=>'name'),$_smarty_tpl);?>
 *</label>
                                        <span><?php echo smarty_function_l(array('s'=>'name_help'),$_smarty_tpl);?>
</span>
                                        <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('code');?>
_name" value="<?php echo $_smarty_tpl->tpl_vars['objectInfo']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'),'name');?>
" />
                                    </p>
                                    <p>
                                        <label for="details"><?php echo smarty_function_l(array('s'=>'details'),$_smarty_tpl);?>
 *</label>
                                        <span><?php echo smarty_function_l(array('s'=>"details_help"),$_smarty_tpl);?>
</span>
                                        <textarea name="<?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('code');?>
_details" class="mceAdvanced" style="width:97%"><?php echo $_smarty_tpl->tpl_vars['objectInfo']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'),'details');?>
</textarea>
                                    </p>
                                    <br class="clear">
                                </div>
                            <?php } ?>
                        <?php }?>
					</div>
                    <div class="right">  
                    
                    	<div class="titles"><?php echo smarty_function_l(array('s'=>'infononeed'),$_smarty_tpl);?>
</div> 
                        <div id="accordion">
                            <div class="title"><?php echo smarty_function_l(array('s'=>'properties'),$_smarty_tpl);?>
</div>
                            <div class="content first">
                                <p>
                                    <label for="cid"><?php echo smarty_function_l(array('s'=>'parent'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'parent_help'),$_smarty_tpl);?>
</span>
                                    <select id="cid" name="cid">
                                    <option value="0">/</option>
                                        <?php echo $_smarty_tpl->tpl_vars['listCategories']->value;?>

                                    </select>
                                </p>
                                <p>
                                    <label for="status"><?php echo smarty_function_l(array('s'=>'status'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'status_help'),$_smarty_tpl);?>
</span>
                                    <select name="status">
                                        <?php echo $_smarty_tpl->tpl_vars['listStatus']->value;?>

                                    </select>
                                </p>
                                <p>
                                    <label for="keywords"><?php echo smarty_function_l(array('s'=>'keywords'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'keywords_help'),$_smarty_tpl);?>
</span>
                                    <input type="text" id="keywords" name="keywords" value="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
" />
                                </p>
                                <p>
                                    <label for="position"><?php echo smarty_function_l(array('s'=>'position'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'position_help'),$_smarty_tpl);?>
</span>
                                    <input type="text" id="position" name="position" value="<?php echo $_smarty_tpl->tpl_vars['position']->value;?>
" />
                                </p>
                                <p>
                                    <label for="slug"><?php echo smarty_function_l(array('s'=>'slug'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'slug_help'),$_smarty_tpl);?>
</span>
                                    <input type="text" name="slug" value="<?php echo $_smarty_tpl->tpl_vars['slug']->value;?>
" />
                                </p>
                                <p class="radioType">
                                    <input type="checkbox" name="home" <?php if ($_smarty_tpl->tpl_vars['home']->value==1){?>checked="checked"<?php }?> value="1">
                                    <label for="home"><?php echo smarty_function_l(array('s'=>'home'),$_smarty_tpl);?>
</label><br>
                                     <span><?php echo smarty_function_l(array('s'=>'home_help'),$_smarty_tpl);?>
</span>
                                </p>
                            </div>
    
                            <div class="title"><?php echo smarty_function_l(array('s'=>'imagesize'),$_smarty_tpl);?>
</div>

                            <div class="content">
                                <p>
                                    <label for="avatar"><?php echo smarty_function_l(array('s'=>'avatar'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'avatar_help'),$_smarty_tpl);?>
</span>
                                    <div class="division2"><input type="text" name="wavatar" value="<?php echo $_smarty_tpl->tpl_vars['wavatar']->value;?>
" /></div>
                                    <div class="division2"><input type="text" name="havatar" value="<?php echo $_smarty_tpl->tpl_vars['havatar']->value;?>
" /></div>
                                </p>
                                <p>
                                    <label for="medium"><?php echo smarty_function_l(array('s'=>'medium'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'medium_help'),$_smarty_tpl);?>
</span>
                                    <div class="division2"><input type="text" name="wmedium" value="<?php echo $_smarty_tpl->tpl_vars['wmedium']->value;?>
" /></div>
                                    <div class="division2"><input type="text" name="hmedium" value="<?php echo $_smarty_tpl->tpl_vars['hmedium']->value;?>
" /></div>
                                </p>
                                <p>
                                    <label for="big"><?php echo smarty_function_l(array('s'=>'big'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'big_help'),$_smarty_tpl);?>
</span>
                                    <div class="division2"><input type="text" name="wbig" value="<?php echo $_smarty_tpl->tpl_vars['wbig']->value;?>
" /></div>
                                    <div class="division2"><input type="text" name="hbig" value="<?php echo $_smarty_tpl->tpl_vars['hbig']->value;?>
" /></div>
                                </p>
                            </div>
                        </div> <!-- End accordion -->
					</div> <!-- End right -->
                    <div class="over">
                        <p class="btnType">
                            <input type="hidden" id="op"  name="op" value="<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
" />
                            <input type="hidden" id="act" name="act" value="<?php echo $_smarty_tpl->tpl_vars['act']->value;?>
" />
                            <input type="hidden" id="oId" name="oId" value="<?php echo $_smarty_tpl->tpl_vars['oId']->value;?>
" />
                            <input type="hidden" id="plus" name="plus" value="saveItem" />
                        </p>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div><?php }} ?>